<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="title.jsp"/>
<meta charset="utf-8"/>
 <meta name="keywords" content="贷款，信用贷，分期，借款，万八千，信用借款，借款5000元，小额现金贷" />
  <meta name="description" content="万八千提供快速的小额借款服务。可以借款5000元、无抵押、无担保、万八千是一款针对成人白领市场的消费金融产品，通过互联网、大数据等科技手段，为用户提供短期的信用借贷，解决用户资金周转问题。"/>
<link href="css/style.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/default.css">
<script src="js/jqbase.js"></script>
<script src="myjs/role.js"></script>
<script src="myjs/gy.js"></script>
</head>
<body style="background:#eaedf1;">
<jsp:include page="top.jsp"/>
<div class="backstage no-mar">
	<div>&nbsp;
	<div class="fra_way">
					<a href="" class="fra_way1"></a>
					<a class="fra_way2" id="toAddRole"></a>
				</div> 		

	</div>
		<table class="caozuo audit">
			<tr>
				<th style="width:10%;">角色id</th>
				<th style="width:10%;">角色名</th>
				<th style="width:10%;">角色状态</th>
				<th style="width:40%;">角色描述</th>
				<th style="width:10%;">操作</th>
			</tr>
			<c:forEach items="${AllSysRoleF}" var="role">
			<tr>
				<td>${role.roleId }</td>
				<td>${role.roleName }</td>
				<td><c:if test="${role.roleStatus==1 }">有效</c:if>
				<c:if test="${role.roleStatus==2 }">停用</c:if></td>
				<td>${role.roleRemark }</td>
				<td><a class="work1" onclick="toModifyRole(${role.roleId });"></a>
					<c:if test="${role.roleStatus==1 }"><a class="work2" onclick="delRole(${role.roleId });"></a></c:if>
					<c:if test="${role.roleStatus==2 }"><a class="work2" onclick="recoveryRole(${role.roleId });"></a></c:if></td>
			</tr>
			</c:forEach>
		</table>
	</div>
<jsp:include page="foot.jsp"/>
<jsp:include page="left.jsp"/>
</body>
</html>